home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_12_07 / filename.txt < prev    next >
Text File  |  1994-06-05  |  6KB  |  145 lines

  1. ************************* MASTER CODE ***************************************
  2.  
  3. The name of the first file in this disk's directory identifies the volume,
  4. issue number and revision of the disk. The format of this filename is:
  5.  
  6.     !CDmvvii.rrr
  7.  
  8. where
  9.  
  10.     ! = the '!' character
  11.     m =   C for C Users Journal, W for Windows/DOS Developer's Journal
  12.     vv =  volume
  13.     ii =  issue
  14.     rrr = revision (001 for initial release, 002 for next update, etc.)
  15.  
  16. The file UPDATE.DOC contains information about any additions or
  17. corrections to material on the disk since the original magazine
  18. publication.
  19.  
  20. If you have obtained this code from a floppy diskette or from CompuServe, the 
  21. headings under the column "FILENAME" represent the names of .ZIP files.  All 
  22. files listed under the filename are archived in the .ZIP file.
  23.  
  24. If you have obtained this code from UUNET, the headings under the column 
  25. "FILENAME" represent the names of subdirectories.  All files listed under the
  26. "filename" are included in a subdirectory of that name.
  27.  
  28. Keywords: Jul94 C C++ Parser Grammar Conventions Mapping istream Exceptions
  29.  
  30. The code listings for the July 1994 issue of C/C++ Users Journal include
  31. listings to illustrate Norman Wilde's software development technique,
  32. source code for Dr. Rainer Storn's code checking tool,  Adam Greissman's
  33. structure-mapping classes, Chuck Allison's C++ exception handling
  34. illustrations, and a header for the C++ istream class.
  35.  
  36. *************************  FILE DESCRIPTION **********************************
  37.  
  38. The following files are included in the disk:
  39.  
  40. FILENAME        AUTHOR-NAME    TITLE                   PAGE
  41. (Zip archive/
  42. subdirectory name)
  43. -------------------------------------------------------------------------------
  44. plauger         P.J. Plauger    Standard C:The Header        10
  45.                     <istream>
  46.  
  47.  
  48.     istream.h     - listing 1, The header <istream>
  49.     istream.c     - listing 2, istream basic members
  50.     isget.c     - listing 3, The function istream::get()
  51.     isgchar.c     - listing 4, The function istream::get(char&)
  52.     isgstrng.c     - listing 5, The function istream::get(char *, int,
  53.                                                         char)
  54.     isgline.c     - listing 6, The function getline(char *, int, char)
  55.     isgstrm.c     - listing 7, The function get(streambuf&, char)
  56.     isignor.c     - listing 8, The function ignore(int, int)
  57.     ispeek.c     - listing 9, The function peek()
  58.     isptback.c     - listing 10, The function putback(char)
  59.     istread     - listing 11, The function read(cahr *, int)
  60.     issync.c     - listing 12, The function sync()
  61.     isunget.c     - listing 13, The function unget()
  62.     
  63. pugh            Kenneth Pugh    Q&A:When to Use Pointers    59
  64.  
  65.     bcdasc.c    - listing 1, A function to store fractions as BCD or
  66.                  ASCII
  67.  
  68. allison            Chuck Allison    Code Capsules:C++ Exceptions    69
  69.  
  70.     destroy1.cpp - listing 1, Illustrates object left undestroyed by
  71.                   longjmp
  72.     destroy2.cpp - listing 2, Illustrates stack unwinding
  73.     ddir1.cpp     - listing 3, Last month's "delete directory" program
  74.                   rewritten to throw C-string exceptions
  75.     ddir2.cpp     - listing 4, Illustrates exception classes
  76.     ddir3.cpp     - listing 5, Derives exception classes from the
  77.                   standard exception hierarchy
  78.     addborl.h     - listing 6, Additional code to make Borland's
  79.                   <except.h> header standard-conforming
  80.     destroy3.cpp - listing 7, Illustrates a dangling resource
  81.     destroy4.cpp - listing 8, Deallocates a resource in the midst of
  82.                   handling an exception
  83.     destroy5.cpp - listing 9, Illustrates the principle of "resource
  84.                   allocation is initialization"
  85.     destroy6.cpp - listing 10, Uses internal state to track a resource
  86.     destroy7.cpp - listing 11, Throws an exception in a constructor
  87.  
  88. wilde            Norman Wilde    Exploratory Software        25
  89.                     Engineering
  90.  
  91.     conv.syn     - listing 1, First guess at an unknown grammar
  92.     conv2.syn     - listing 2, Second cut at grammar after initial tests
  93.     conv3.syn     - listing 3, Further refinements to the grammar
  94.     convutil.h     - listing 4, Header for conversion program support code
  95.  
  96. storn            Rainer Storn    A Tool for Checking C Coding    41
  97.                     Conventions
  98.  
  99.     stdtyp.h     - listing 1, The file stdtyp.h
  100.     bad.c     - listing 2, A program that breaks cck's rules
  101.     report     - listing 3, cck's report on the program in listing 2
  102.     ok.c     - listing 4, Listing 2 rewritten to satisfy cck
  103.  
  104. storn2            Rainer Storn    A Tool for Checking C Coding
  105.                     Conventions
  106.  
  107.     cck.c     - not listed in magazine, source for the code checking
  108.            tool
  109.     cck.exe     - not listed in magazine, MS-DOS executable
  110.     cck.obj     - not listed in magazine, object code for tool
  111.     stdtyp.h     - expanded listing from listing 1 in magazine
  112.  
  113. greissmn        Adam Greissman    Structure Mapping Techniques    51
  114.                     in C++
  115.  
  116.     field.h     - listing 1, Declaration of Field class
  117.     fieldesc.h     - listing 2, Classes that descend from Field
  118.     map.h     - listing 3, Declaration of Map class
  119.     mapobj.h     - listing 4, Declaration of MappedObject class
  120.     mostream.c     - listing 5, Mapped object stream operators
  121.     point.h     - listing 6, Implementation of a Point Mapped Object
  122.     
  123. letters                    We Have Mail            102
  124.  
  125.     badfree.c     - listing 1, Demonstrates a bug in Plauger's free
  126.  
  127. heintze            Siegfried     Intuitive Access to Bit Arrays,
  128.             Heintze        CUJ, February 1994, p. 67
  129.  
  130.  
  131.     boolean.h     - Not listed,    Replaces missing listing from February
  132.                                 article
  133.  
  134. ******************************************************************************
  135.  
  136. If you have questions regarding to the disk, please call or write us.
  137.  
  138. -----------------------------------------------------------------------------
  139.                            R&D Publications, Inc.
  140.                         1601 W. 23rd St. Suite 200
  141.                             Lawrence, KS 66046
  142.                               (913) 841-1631
  143. -----------------------------------------------------------------------------
  144.  
  145.